x86emul: constify write_segment() register pointer
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 11:06:51 +0000 (12:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 11:06:51 +0000 (12:06 +0100)
commitc22a24c456f0edd21a9eccc7237685bd7f9655d8
tree94b335cdc60b80545ff46f1bde3f956fc493b81d
parent380d634c96dbdb2cf486290ce7f6868348bfdf91
x86emul: constify write_segment() register pointer

Since I stumbled across this while looking for further constification
opportunities, also correct the insn_fetch() related comment.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/x86_emulate/x86_emulate.h